package com.smartcommunity.entity.village;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
@ApiModel(value = "房屋查询实体")
public class HouseListReq{

    @ApiModelProperty(value="小区编码",name="villageCode",example = "123456")
    @NotBlank
    private String villageCode;

    @ApiModelProperty(value="楼栋编号",name="buildingNo",example = "28")
    @NotBlank
    private String buildingNo;

    @ApiModelProperty(value="单元号",name="unitNo",example = "28")
    private String unitNo;

    @ApiModelProperty(value="楼层",name="floor",example = "10")
    private String floor;

    @ApiModelProperty(value="房屋类型 0: 其他,1:自住房,2:出租房，3:闲置房，4.民宿，5.寄宿，6.借宿，7.单位宿舍，8.临时性宿舍，9.农民工公寓",name="type")
    private Integer type;

    @ApiModelProperty(hidden = true)
    private String ids;

}
